package fr.norsys.mapper.console.model;

import fr.norsys.mapper.console.utils.UIDGenerator;

public class Variable extends BaseObject {
	private static final long serialVersionUID = 4968293367761329135L;
	private String id;
	private String name;
	private String value;
	
	public Variable() {
		super();
		this.id = "";
	}
	public Variable(String name) {
		super();
		this.id = UIDGenerator.generateId();
		this.name = name;
	}
	public Variable(String name, String value) {
		super();
		this.id = UIDGenerator.generateId();
		this.name = name;
		this.value = value;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
		
}